//
   Created by moyu on 2017/4/7.
- header = header || conf.header;
nav.navbar.navbar-default.navbar-static-top
  div.container
    div.navbar-header
      button.navbar-toggle.collapsed(type="button" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar")
        span.sr-only= "Toggle navigation"
        span.icon-bar
        span.icon-bar
        span.icon-bar
      a.navbar-brand(href="/")= header.siteName || "HELLO"
    div#navbar.navbar-collapse.collapse
      ul.nav.navbar-nav
        //li(class=(active=="home"||!active&&"active"))
        //  a(href="/")= header.homeName || "首页"
        li(class=(active=="archive"&&"active"))
          a(href="/archive")= header.archiveName || "归档"
        li(class=(active=="tag"&&"active"))
          a(href="/tag")= header.tagName || "标签"
        li(class=(active=="album"&&"active"))
          a(href="/album")= header.albumName || "相册"
        li(class=(active=="other"&&"active"))
          a(href="/other")= header.otherName || "瞎逼逼"
        //li.dropdown
        //  a.dropdown-toggle(href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false")
        //    ="Dropdown"
        //    span.caret
          //ul.dropdown-menu
          //  li
          //    a(href="#")= "Action"
          //  li
          //    a(href="#")= "Action"
          //  li.divider(role="separator")
          //  li.dropdown-header= "Nav header"
          //  li
          //    a(href="#")= "Action"

      ul.nav.navbar-nav.navbar-right
        if (!login)
          li(class=(active=="login"&&"active"))
            a(href="/login")= "登录"
        else
          li(class=(active=="admin"&&"active"))
            a(href="/admin")= "管理"
          li
            a#logout(href="javascript:;")= "登出"
      //  li.active
      //    a(href="#")= "Default"